public final class ObjectModelBindingsInitializer
extends java.lang.Object
implements com.vmware.vise.util.AutoCloseable, org.eclipse.gemini.blueprint.context.BundleContextAware
| Constructor and Description |
|---|
ObjectModelBindingsInitializer(com.vmware.vise.search.SearchServiceExtensionRegistry searchRegistry,
java.lang.String objectNamespace,
java.util.Collection<java.lang.String> bindingPackages)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
public ObjectModelBindingsInitializer(com.vmware.vise.search.SearchServiceExtensionRegistry searchRegistry,
java.lang.String objectNamespace,
java.util.Collection<java.lang.String> bindingPackages)
searchRegistry - The search data adapter's extension registry.objectNamespace - The object namespace preceeding the types published to Inventory Service.bindingPackages - Packages containing Object Model binding classes. The binding classes
should describe hierarchical relationships between objects within
objectNamespace.classLoader - ClassLoader capable of loading classes from the bindingPackages.java.lang.IllegalArgumentException - if any parameters are null.public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
setBundleContext in interface org.eclipse.gemini.blueprint.context.BundleContextAwarepublic void close()
close in interface com.vmware.vise.util.AutoCloseableCopyright @ 2012 VMware, Inc. All rights reserved.